package com.shisfish.library.Inter;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.shisfish.core.Inter.IModelInter;
import com.shisfish.library.Model.BookCategory;

public interface IBookCategoryInter extends IModelInter<BookCategory>{
	
	public int countByCategory(@Param("category") String category);
	
	public List<BookCategory> selectByCategory(@Param("category") String category, @Param("currentPage") int currentPage, @Param("pageSize") int pageSize);

	public List<BookCategory> selectByCode(@Param("code") int code);
	
}
